package com.ayu.wxgzh.ayucyy.mapper;

import com.ayu.wxgzh.ayucyy.entity.EduCourse;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author ayu
 * @since 2021-11-22
 */
@Repository
public interface EduCourseMapper extends BaseMapper<EduCourse> {


	/**
	 * 根据text查询相关视频信息
	 * @param queryWrapper queryWrapper
	 * @return 相关视频信息
	 */
	List<EduCourse> getVideoIdByText(@Param(Constants.WRAPPER)QueryWrapper queryWrapper);
}
